<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Teste</title>
</head>
<body>
<f:view>
		<div style="width:100%;">
		<div style="background:#eee;margin:0 auto;display:block;width:600px;height:300px;box-shadow:10px 10px 10px 0px #ccc;-moz-box-shadow:10px 10px 10px 0px #ccc;-webkit-box-shadow:10px 10px 10px 0px #ccc;border-radius:10px">
		<h:form style="padding-top:100px;margin:0 auto;width:210px;">
			<h:outputLabel value="Login: "></h:outputLabel>
			<h:inputText value="#{validador.login}"></h:inputText><br>
			<h:outputLabel value="Senha: "></h:outputLabel>
			<h:inputText value="#{validador.senha}"></h:inputText><br>
			<h:commandButton action="#{validador.check}" value="Autenticar" style="margin:0 auto;width:200px"></h:commandButton>
		</h:form>
		</div>
		</div>
	</f:view>
</body>
</html>